<script type="text/javascript">
			
			jQuery(function($){
				
				$.supersized({
				
					// Functionality
					slide_interval          :   <?php echo $this->config->get('moderns_full_slideshow_slide_interval'); ?>, // Length between transitions
					transition              :   <?php echo $this->config->get('moderns_full_slideshow_transition'); ?>, 			// 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
					transition_speed		:	<?php echo $this->config->get('moderns_full_slideshow_transition_speed'); ?>,		// Speed of transition
															   
					// Components							
					slide_links				:	'blank',	// Individual links for each slide (Options: false, 'num', 'name', 'blank')
					slides 					:  	[			// Slideshow Images
<?php $i = count($banners); foreach ($banners as $banner) { ?>
<?php if ($banner['link']) { ?>
{image : '<?php echo $banner['image']; ?>', title : '<?php echo $banner['title']; ?>', thumb : '<?php echo $banner['image']; ?>', url : '<?php echo $banner['link']; ?>'} <?php if($i>1){ echo ","; }?>
<?php } else { ?>
{image : '<?php echo $banner['image']; ?>', title : '<?php echo $banner['title']; ?>', thumb : '<?php echo $banner['image']; ?>'}<?php if($i>1){ echo ","; }?>
<?php } ?>
    <?php $i--; } ?>	
			]
				});
		    });
			
		    
		</script>